﻿using Service.Core.Result;

namespace Service.Core.Interface
{
    /// <summary>
    ///     通用业务层接口
    /// </summary>
    public interface IService
    {
        IServiceResult Result(ResultType resultType);
        IServiceResult Result(ResultType resultType, string resultMsg);
        IServiceResult Result(ResultType resultType, object reData);
        IServiceResult Result(ResultType resultType, object reData, string resultMsg);
    }
}